<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JaniDir.pl</title>
<link rel="stylesheet" href="jperl.css" type="text/css" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body>
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr><td class="block" valign="middle">
<big><strong><span class="block">&nbsp;JaniDir.pl</span></strong></big>
</td></tr>
</table>

<p><a name="__index__"></a></p>
<!-- INDEX BEGIN -->

<ul>

	<li><a href="#name">NAME</a></li>
	<li><a href="#synopsis">SYNOPSIS</a></li>
	<li><a href="#description">DESCRIPTION</a></li>
	<li><a href="#arguments">ARGUMENTS</a></li>
	<li><a href="#author">AUTHOR</a></li>
</ul>
<!-- INDEX END -->

<hr />
<p>
</p>
<h1><a name="name">NAME</a></h1>
<p>JaniDir.pl - Directory cleaning</p>
<p>
</p>
<hr />
<h1><a name="synopsis">SYNOPSIS</a></h1>
<pre>
   JaniDir.pl -e DaysToExpire -d DirToClean -l LogFile -q</pre>
<p>
</p>
<hr />
<h1><a name="description">DESCRIPTION</a></h1>
<p>The janidir subfunction will clean up dirs of
files that are past their shelf life as measured
in days.</p>
<p>
</p>
<hr />
<h1><a name="arguments">ARGUMENTS</a></h1>
<dl>
<dt><strong><a name="item_%2de_daystoexpire">-e DaysToExpire</a></strong><br />
</dt>
<dd>
The tolerated age of a file measured in days. Files past this
age will be deleted from the directory.
</dd>
<p></p>
<dt><strong><a name="item_%2dd_dirtoclean">-d DirToClean</a></strong><br />
</dt>
<dd>
The full path of the directory that will be cleaned.
</dd>
<p></p>
<dt><strong><a name="item_%2dl_logfile">-l LogFile</a></strong><br />
</dt>
<dd>
The full path to the log file. This file documents the files that 
were deleted by JaniDir. New information will be appended to
an existing file.
</dd>
<p></p>
<dt><strong><a name="item_%2dq">-q</a></strong><br />
</dt>
<dd>
This is the quiet flag. Running the program with the q activated
will not print information to STDOUT. This is the option to use for
cron jobs.
</dd>
<p></p></dl>
<p>
</p>
<hr />
<h1><a name="author">AUTHOR</a></h1>
<p>James C. Estill &lt;JamesEstill at gmail.com&gt;</p>
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr><td class="block" valign="middle">
<big><strong><span class="block">&nbsp;JaniDir.pl</span></strong></big>
</td></tr>
</table>

</body>

</html>
